package com.example.entity;

public class Guitar {
    private int id;
    private String brand;
    private String type;
    private String manufacturer;
    private double price;
    
    public Guitar() {}
    
    public Guitar(String brand, String type, String manufacturer, double price) {
        this.brand = brand;
        this.type = type;
        this.manufacturer = manufacturer;
        this.price = price;
    }
    
    // Getter和Setter方法
    public int getId() {
        return id;
    }
    
    public void setId(int id) {
        this.id = id;
    }
    
    public String getBrand() {
        return brand;
    }
    
    public void setBrand(String brand) {
        this.brand = brand;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public String getManufacturer() {
        return manufacturer;
    }
    
    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
    
    public double getPrice() {
        return price;
    }
    
    public void setPrice(double price) {
        this.price = price;
    }
} 